$("#modal form");
$("#modalnumber p");

//2.给$('#modalnumber p')绑定点击事件
$("#modalnumber p").forEach(function (v, i) {
	v.addEventListener("click", function () {
		//3.先排他,移除所有p标签的激活样式
		$("#modalnumber p").forEach(function (item, index) {
			item.classList.remove("active");
			$("#modal form")[index].style.display = "none";
		});
		this.classList.add("active");

		// 隐藏
		// $("#mask form").forEach(function (v) {
		// 	v.style.display = "none";
		// });
		$("#modal form")[i].style.display = "block";
	});
});
